package com.chengzhi.web.servive.impl;

import com.alibaba.dubbo.config.annotation.Service;
import com.chengzhi.web.service.DubboService;
import com.chengzhi.web.service.DubboTwoService;
import org.springframework.stereotype.Component;

/**
 * Created by xebest on 2018/1/4.
 */
@Service(version = "1.0.0")
@Component("dubboTwoService")
public class DubboTwoServiceImpl implements DubboTwoService{
    @Override
    public void sayGoodBye(String name) {
        System.out.println(name);
        System.out.println("---dubbo sayGoodBye 发布服务----");
    }
}
